<template>
	<view class="my-search-container">
		<view class="my-search-box"  @click="gotoSearch()">

			<uni-icons type="search" size="20"></uni-icons>

			<text>搜索</text>
			
		
		</view>
	</view>
</template>

<script>
	export default {
		name: "my-search",
		data() {
			return {

			};
		},
		methods:{
			gotoSearch(){
				console.log('122');
				uni.navigateTo({
					// url:'/subpkg/search/search'
					
					url:'../../subpkg/search/search',
					
				})
			}
		}
	}
</script>

<style lang="scss">
	.my-search-container {
		background-color: #c00000;
		height: 50px;

padding:  0 10px;

		.my-search-box {
			height: 36px;
			line-height: 36px;
			background-color: #ffffff;
			border-radius: 18px;
			
			display: flex;
			flex-wrap: wrap;
		}
	}
</style>